home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / flood < prev    next >
Encoding:
Text File  |  2001-03-21  |  1.1 KB  |  35 lines

  1. Synopsis:
  2.    on [<modes>]flood [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client's internal flood detection
  6.    code is activated.  The client is "flooded" when it receives a large
  7.    number of messages (of any sort) in a relatively short period of time.
  8.  
  9. Parameters:
  10.    $0    nickname of the flooder
  11.    $1    type of flood detected
  12.    $2    the channel (if any) they're flooding
  13.    $3-   content of the flood message
  14.  
  15. Examples:
  16.    To automatically ignore flooders:
  17.       on ^flood "*" {
  18.          echo *** $1 flooding detected by $0
  19.          ignore $0 $1
  20.       }
  21.  
  22.    To disable flood protection for network services:
  23.       on flood ^'\\[X W NickServ ChanServ\\] *'
  24.  
  25. See Also:
  26.    set(4) flood_after, flood_rate, flood_users, flood_warning
  27.  
  28. Other Notes:
  29.    It isn't uncommon for network problems to cause a great deal of data to
  30.    be sent to the client at once by the server.  Suspending the client for
  31.    awhile and then bringing it back can produce similar results.  Thus, it
  32.    it recommended that KICK or KILL be avoided as automated responses to
  33.    possible flooding.
  34.  
  35.